package com.liuqi.aiagent.transfer.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.io.Serializable;
import java.util.Date;


/**
 * @author liuqi
 * @date 2025/7/21 22:02
 **/
@Setter
@Getter
@ToString
@ApiModel(value = "Tokens 计量")
@Builder
public class TokensUsage implements Serializable {
	private static final long serialVersionUID = 3760055775533418611L;

	@ApiModelProperty(value = "主键ID", example = "1")
	private Long id;

	@ApiModelProperty(value = "agent 名称")
	private String agentName;

	@ApiModelProperty(value = "AI模型名称")
	private String modelName;

	@ApiModelProperty(value = "AI模型类型")
	private String modelType;

	@ApiModelProperty(value = "用户名称")
	private String username;

	@ApiModelProperty(value = "一轮对话的ID")
	private String uuid;

	@ApiModelProperty(value = "用户输入的tokens计量", example = "1")
	private Integer inputToken;

	@ApiModelProperty(value = "AI响应内容的tokens计量", example = "1")
	private Integer outputToken;

	@ApiModelProperty(value = "tokens总量", example = "1")
	private Integer totalToken;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

}
